package com.ithuameng.notice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.ithuameng.notice"})
@MapperScan({"com.ithuameng.notice.dao"})
public class NoticeApplication {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(NoticeApplication.class);
        springApplication.setMainApplicationClass(NoticeApplication.class);
        springApplication.run(args);
    }
}
